<?php

/**
 * Part filter form.
 *
 * @package    Porba
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PartFormFilter extends BasePartFormFilter
{
  public function configure()
  {
        $this->disableLocalCSRFProtection();

        $this->widgetSchema['type'] = new sfWidgetFormFilterInput(array(
            'with_empty' => false
        ));
        
        $this->widgetSchema['part_number'] = new sfWidgetFormFilterInput(array(
            'with_empty' => false,
            'label' => 'Material number',     
        ));
        
        
        $this->useFields(array('part_number', 'name', 'type'));
  }
}
